# print("demo python");


# f = open("demo.txt","r",encoding  = "gbk");
# line = f.read();
# print("read:" + line);

# f.close();


# f = open("demo.txt","w");
# f.write("test  python write\r\n ok");
# f.close();

# print("io write ok");

# print("please enter int value.")
# str = input()
# int_val = int(str)

# if int_val > 10:
# 	print("str > 10")
# else:
# 	print("<10");

# names = ["jim","tom","luce"];
# for n in names:
# 	print("name:%s" % n)

# sum = 0;
# for x in [1,2,3,4,5,6]:
# 	sum = sum + x

# print("sum:%d" % sum)

# for x in range(10):
# 	print(x)

# nums = list(range(4))
# print(nums)


# dic

# dic = {"java":10, "cshar":100}
# dic["js"] = 100
# print(dic["java"])

# if "javac" in dic:
# 	print("java in dic")

# key = "javac"
# val = dic.get(key,100)
# print("get:%s = %s" % (key,val))
# print(dic)

# jsVal = dic.get("js")
# print("get js = %d" % jsVal)
# dic.pop("js")
# jsVal = dic.get("js")
# print("get js = %s" % jsVal)
# print(dic)

# set

# myset = set([1,2,3,4,4])
# print(myset)
# myset.add(1)
# print(myset)
# myset.add(5)
# print(myset)

# myset.remove(1)
# print(myset)

#-- builtin function
# s = -1;
# print(abs(s))

# min_val = min(1,2,1,2,10)
# print(min_val)
# max_val = max(10,45,1000)
# print(max_val)

# -- fun
# def fn(x):
# 	def fn_inner(y):
# 		return x + y
# 	return fn_inner

# fn1 = fn(1)
# fn2 = fn(2)
# print(fn1(2))

# -- import fun
# from myfn import get_material_info
# # print("material info is %s" % get_material_info(100))
# val = get_material_info("test")
# print(val)

# def nopfn():
# 	pass

# nopfn()

# if 10 > 10:
# 	pass

# def m_return_fn():
# 	return 10,20

# r = m_return_fn()
# print(r)

# def fn(x):
# 	if(x <= 1):
# 		return 1
# 	else:
# 		return x + fn(x-1)

# val = fn(3)
# print(val)

# print(pow(2,3))

# def register_stu(name,id,city = "beijing",age=10):
# 	print("name",  name)
# 	print("id", id)
# 	print("city", city)
# 	print("age", age)

# register_stu("zhangsan", 10)
# register_stu("lisi", 12, age=20, city="shanghai")


# def var_param_fn(*nums):
# 	for x in nums:
# 		print("x=", x)

# # var_param_fn(1,2,3,4)
# param = [1,2,3,4]
# # var_param_fn(param)
# # var_param_fn(*param)
# var_param_fn()

# def person(id,name,**kw):
# 	print("id=", id, "name=", name, "other=", kw)

# # person(1,"zhangsan", job="java", level = "b10")
# ext = {"job":"java", "level":"b10"}
# print(ext)
# person(1,"lisi", **ext)

# L = [1,2,3,4,5,6]
# # L2 = L[:4]
# # print(L2)

# print(L[1:3])

# for k in "java":
# 	print(k)

dic = {"java": 100, "c#": 90, "javascript": 90}
# for key in dic:
# 	print("key=", key)

# for value in dic.values():
# 	print("value=", value)

# for kvp in dic.items():
# 	print("kvp=",kvp)

# for index,item in enumerate([1,2,3,4]):
# 	print("index=",index,"item=", item)

# import os
# dirs = [d for d in os.listdir("c:")]
# print(dirs);

# ls = ["JAVA", "JS", "Python"];
# lls = [s.lower() for s in ls]
# print(lls)

# L1 = ['Hello', 'World', 18, 'Apple', None]
# L2 = [x for x in L1 if not isinstance(x,int)]
# print(L2)

# g = (x for x in range(10) if x % 2 == 0)
# print(g)
# for x in g:
# 	print(x)

strs = map(str,[1,2])
print(list(strs))